home *** CD-ROM | disk | FTP | other *** search
- .TITLE KERGEN - Text for generic commands
- .IDENT '3.0.045'
-
- ;++
- ; FACILITY: VMS Kermit
- ;
- ; ABSTRACT: This file contains the definitions of the command strings
- ; used for generic server commands.
- ; This is a separate Macro-32 file so that sites without
- ; BLISS can easily customize the commands passed to the
- ; sub-process to perform generic server commands.
- ;
- ; AUTHOR: Nick Bush, Creation Date: 8-March-1984
- ;
- ; MODIFIED BY:
- ;--
- .SBTTL Revision History
-
- ;
- ; 2.0.036 Create this module
- ;
- ; 3.0.045 Start of version 3.
- .SBTTL Commands
-
- .PSECT $PLIT$,NOWRT,NOEXE,2
-
- ; The following are the commands used for the generic server commands.
- ;They are passed to a sub-process by use of LIB$SPAWN, and the results
- ;are returned to the user. The output of the sub-process is captured
- ;by using a mailbox as its output device, with Kermit reading the other
- ;end of the mailbox. Because of the way most applications under VMS
- ;perform output (using LIB$OUTPUT or RMS), the data passed through the
- ;mailbox does not contain any line terminators - the line terminators
- ;are implied between messages. Therefore, VMS Kermit will insert a
- ;carriage return, line feed sequence between messages when reading from
- ;the mailbox. This works fine except for those programs which perform
- ;unformatted I/O, and therefore include their own line terminators. VMS
- ;has no mechanism for indicating this with a mailbox, so VMS Kermit will
- ;continue to insert the CRLF's, producing either double spacing, or
- ;random line breaks. Therefore, (at least until VMS is fixed), it
- ;is good idea to only use commands which run utilities which do
- ;formatted (record) output.
- ;
- ; Note that for most commands a space should be the final character so
- ;that arguments can be concatenated directly onto the string.
-
- ; Copy command.
- ; Format:
- ; Command-text input-file output-file.
- ;
- GEN_COPY_CMD::
- .ASCID 'COPY/LOG '
-
- ; Delete command.
- ; Format:
- ; Command-text file-specification
- GEN_DELETE_CMD::
- .ASCID 'DELETE/LOG '
-
- ; Directory command.
- ; Format:
- ; Command-text file-specification
- GEN_DIR_CMD::
- .ASCID 'DIRECTORY '
-
- ; Disk usage command.
- ; Format if no argument supplied:
- ; Command-text
- GEN_USG_CMD::
- .ASCID 'SHOW QUOTA'
- ;
- ; Format if argument supplied:
- ; Command-text argument
- GEN_USG_ARG_CMD::
- .ASCID 'SHOW QUOTA/USER='
-
- ; Rename command
- ; Format:
- ; Command-text old-file-spec new-file-spec
- GEN_REN_CMD::
- .ASCID 'RENAME/LOG '
-
- ; Send message command
- ; Format:
- ; Command-text destination-address "message"
- GEN_SEND_CMD::
- .ASCID 'REPLY/TERMINAL='
-
- ; Who command
- ; Format:
- ; Command-text user-id options
- GEN_WHO_CMD::
- .ASCID 'SHOW SYSTEM'
- .SBTTL Help text for generic commands
-
- ; This is the help text that is returned in reponse to the generic help
- ;command.
- .MACRO LINE TEXT
- .ASCII |TEXT|<13><10>
- .ENDM LINE
-
- GEN_HELP_TEXT::
- .LONG 2$-1$ ; Length of text
- .LONG 1$ ; Address of text
-
- 1$: LINE <VMS Kermit Server handles the following functions:>
- LINE <>
- LINE <Function Standard command>
- LINE <-------- ---------------->
- LINE <>
- LINE <Send a file SEND file-spec>
- LINE <Retrieve a file GET file-spec>
- LINE <Log out from system BYE or LOGOUT>
- LINE <Exit from Kermit server FINISH>
- LINE <Type a file REMOTE TYPE file-spec>
- LINE <List directory REMOTE DIRECTORY file-spec>
- LINE <Delete a file REMOTE DELETE file-spec>
- LINE <Change default directory REMOTE CWD new-device/directory>
- LINE <Reset default directory REMOTE CWD>
- LINE <Show disk usage REMOTE DISK>
- LINE <Show disk usage for UIC REMOTE DISK [uic]>
- LINE <Copy a file REMOTE COPY old-file-spec>
- LINE < New-file-spec>
- LINE <Rename a file REMOTE RENAME old-file-spec>
- LINE < New-file-spec>
- LINE <Send message to user REMOTE SEND terminal-name>
- LINE < message text>
- LINE <Show who's logged in REMOTE WHO>
- LINE <Perform DCL command REMOTE HOST DCL-command>
- LINE <Type this text REMOTE HELP>
- 2$:
- .SBTTL End of KERGEN.MAR
-
- .END
-
-